import { modules } from './modules';
import { createStore } from 'vuex';
import { usesrState } from './modules/user/store';
import { wechatState } from './modules/wechat/store';

export interface State {
  user: usesrState;
  wechat: wechatState;
}
export default createStore<State>({
  modules,
});
